package org.openfans.persistence;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * 类说明：持久接口的hibernate实现<br>
 * 创建时间：2006-5-3<br>
 * 
 * @author 张俊<br>
 * @email:pesome@gmail.com<br>
 */
public class PersistenceImpl extends HibernateDaoSupport implements Persistence {

	public void save(Object o) {
		getHibernateTemplate().saveOrUpdate(o);
	}

	public void remove(Object o) {
		getHibernateTemplate().delete(o);
	}

}
